package com.winz.cultureapp.activity;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.winz.cultureapp.R;
import com.winz.cultureapp.base.BaseAppCompatActivity;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 场馆预定--订单确认
 */
public class BookStadiumConfirmActivity extends BaseAppCompatActivity {
    @BindView(R.id.tv_top_title)
    TextView mTv_top_title;
    @BindView(R.id.iv_pic)
    ImageView mIv_pic;
    @BindView(R.id.tv_title)
    TextView mTv_title;
    @BindView(R.id.tv_price)
    TextView mTv_price;
    @BindView(R.id.tv_location)
    TextView mTv_location;
    @BindView(R.id.tv_date)
    TextView mTv_date;
    @BindView(R.id.tv_no)
    TextView mTv_no;
    @BindView(R.id.tv_tell)
    TextView mTv_tell;
    @BindView(R.id.tv_start)
    TextView mTv_start;
    @BindView(R.id.tv_end)
    TextView mTv_end;

    @Override
    protected int contentView() {
        return R.layout.activity_book_stadium_confirm;
    }

    @Override
    protected void initViews() {
        setStatusBar(getResources().getColor(R.color.base_color));
        mTv_top_title.setText("订单信息");
    }

    @OnClick({R.id.fl_back, R.id.btn_confirm,R.id.tv_cancle})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.fl_back:
                finish();
                break;
            case R.id.btn_confirm:
                // 确认
                showMsg("确认");
                startActivity(BookStadiumResultActivity.class,false);
                break;
            case R.id.tv_cancle:
                // 退订
                showMsg("退订");
                break;
        }
    }
}
